package com.foreverwin.mes.common.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.common.model.KeyLock;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author syngna123
 * @since 2018-11-15
 */
public interface KeyLockService extends IService<KeyLock> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<KeyLock> selectPage(FrontPage<KeyLock> frontPage);

    List<KeyLock> selectList();

    boolean insert(KeyLock keyLock);

    int batchDeleteByRefKey(List<String> objRefs);
}